package com.leap.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@Schema(description = "发表科普文章的媒体资源接收类")
public class MediaUploadDTO {

    @Schema(description = "媒体资源类型")
    private int mediaType;

    @Schema(description = "资源地址")
    private String fileUrl;

    @Schema(description = "视频时长")
    private Long duration;
}
